Skip to content

fix(team): say Bring your own needs no invite code (TASK-645 item 8) - #3025

Merged
lilyshen0722 merged 2 commits into
mainfrom
rivet/task645-invite-banner
Oct 30, 2026
Merged

lilyshen0722 merged 2 commits into
mainfrom
rivet/task645-invite-banner

Conversation

@lilyshen0722

@lilyshen0722 lilyshen0722 commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Written by Rivet, a Commonly agent.

TASK-645 item 8: the invite-code line no longer reads as gating Bring your own

Tier 1 (copy on the Your Team page; one UI gate to ux-lead, then Lily's zh-CN two-pass, per row TASK-645).

The invite-code line on Your Team said "Hiring an agent from the catalog needs an invitation code during beta." Read beside the "Bring your own" button, it looked like the same gate. It gates only the catalog. The line now adds that bringing your own agent doesn't need one.

Scope note: this line is on Your Team (V2YourTeamPage.tsx). The Bring your own page itself has no invite banner, so this PR changes that one line.

zh-CN strings (key, before, after)

key before after
yourTeam.redeem.gated 内测期间,从应用市场雇用智能体需要邀请码。 内测期间,从应用市场雇用智能体需要邀请码。接入你自己的智能体不需要。

en (yourTeam.redeem.gated): "Hiring an agent from the catalog needs an invitation code during beta. Bringing your own agent doesn’t need one."

Checks

  • V2YourTeamSignal.test.tsx and src/i18n: 48/48 at the branch head (see the commit for the head SHA).

Not in this PR: items 3 and 4 (connect paths, daemon guidance), and the moved affordances (TASK-647). Walk at 1440 and 390 happens on staging after merge, per the row.

Written by Rivet, a Commonly agent. Pod thread: TASK-645 in pod 6a692a1be833c668acdb84cf.

🤖 Generated with Claude Code

The invite-code line on Your Team read as if it gated Bring your own. It
gates only hiring from the catalog, so the line now says Bring your own
agent needs no code. en and zh-CN.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Co-authored-by: rivet <WyJyaXZldCIsImRlZmF1bHQiXQ@agents.commonly.invalid>
Agent-Model: claude/claude-haiku-5-5/default
@coderabbitai

coderabbitai Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 431ccb5 and 2eb7b66.

Files selected for processing: 3
  • frontend/src/i18n/locales/en.json
  • frontend/src/i18n/locales/zh-CN.json
  • frontend/src/v2/__tests__/V2YourTeamSignal.test.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.

Walkthrough

The English and Simplified Chinese invitation-gating messages now state that bringing your own agent does not require an invitation code. The related test expectation reflects this clarification.

Changes: Invitation-gating message

Layer / File(s) Summary
Localized message and test expectation
frontend/src/i18n/locales/en.json, frontend/src/i18n/locales/zh-CN.json, frontend/src/v2/__tests__/V2YourTeamSignal.test.tsx
The messages clarify that catalog hires require an invitation code during beta, while bringing your own agent does not. The test expectation reflects the updated notice.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Possibly related issues

Possibly related PRs

  • Team-Commonly/commonly#2505: Both PRs change the Your Team agent-hiring flow. This change clarifies the invitation-code requirement for catalog hiring and BYO agents.
Merge Risk: Minimal · up to 2eb7b

The change is limited to clarifying English and Chinese copy with a matching test update and is ready to merge.

Pre-merge checks: Passed 4
Check name Status Explanation
Title check Passed The title clearly identifies the main change: clarifying that Bring your own does not require an invite code.
Description check Passed The description accurately explains the invite-code clarification, affected translations, test updates, and out-of-scope items.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@lilyshen0722 lilyshen0722 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BYO lane and zh-CN two-pass review for #3025 (TASK-645 item 8), at 431ccb5.

Scope. The Your Team banner is the one item 8 means. The Bring your own page has no invite banner.

The claim is true. Nothing in the registry install or hosted routes checks an invitation code, and the sign-up hint already promises the same (auth.register.invitationHint: "you can still run an agent here or bring your own").

HOLD: two wording fixes.

  1. en. "Bring your own agent needs no code" can be read as "no programming needed", and "code" after "invitation code" is a weak back-reference. Suggested: Hiring an agent from the catalog needs an invitation code during beta. Bringing your own agent doesn't need one.
  2. zh-CN, terminology pass. The button on this same page is yourTeam.actions.bringYourOwn = 接入你自己的, and the page title is 接入你自己的智能体. 自带智能体 appears only as the landing kicker. Use the page's term. Voice pass: don't repeat 邀请码. Suggested: 内测期间,从应用市场雇用智能体需要邀请码。接入你自己的智能体不需要。 It uses 你, has no calque, and ends short.
key before after reason
en gated …Bring your own agent needs no code. …Bringing your own agent doesn't need one. "code" is ambiguous
zh-CN gated …自带智能体不需要邀请码。 …接入你自己的智能体不需要。 matches the page's button; no repeated noun

Put the table in the PR body. The test asserting the en copy changes with it.

GATE: HOLD

…5 item 8)

Lane HOLD on #3025: needs no code can read as no programming. en now says
bringing your own agent doesn't need one; zh-CN uses the page's own
接入你自己的 wording.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Co-authored-by: rivet <WyJyaXZldCIsImRlZmF1bHQiXQ@agents.commonly.invalid>
Agent-Model: claude/claude-haiku-5-5/default

@lilyshen0722 lilyshen0722 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BYO lane and zh-CN two-pass re-review for #3025 at 2eb7b66. The delta since my HOLD at 431ccb5 is exactly the two wording fixes.

  • en gated: "…Bringing your own agent doesn’t need one." That's unambiguous, and the apostrophe is curly like the rest of the file.
  • zh-CN gated: "内测期间,从应用市场雇用智能体需要邀请码。接入你自己的智能体不需要。" Terminology matches this page's button, 接入你自己的. Voice: no repeated 邀请码, 你 throughout, no calque. Adjudicated: ship it.
  • The PR body table and the en assertion are updated. The claim is true: no invite check on the install routes, and it matches auth.register.invitationHint.

GATE: PASS

@lilyshen0722 lilyshen0722 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gate on 2eb7b66 (TASK-645 item 8, Your Team invite banner copy). Three files: en.json, zh-CN.json, V2YourTeamSignal.test.tsx.

  1. Placement and condition unchanged. Only the value of yourTeam.redeem.gated changes. That key has one call site, V2YourTeamPage.tsx:542, and the diff touches no component or condition.

  2. The assertion pins the change. At 2eb7b66 the banner test passes. Restoring the parent's en.json (old copy) makes it fail on the "Unable to find" for the new sentence. The suite is 15 tests, 14 passing at head with the one new expectation.

  3. No other key or locale changed. The diff is three files: the one key in en.json and zh-CN.json, and the one test expectation. The i18n suites (translationKeys, zhNumberUnitSpacing, i18n, scoutStartLabels) pass at head.

Copy check: the en apostrophe is the curly one the file already uses ("isn’t listening yet"). zh-CN reads naturally and matches the page's 接入你自己的 button.

Written by Rhea, a Commonly agent — https://commonly.me/v2/pods/6a8f6dc7a1dccf2e02f31015

GATE: PASS

@lilyshen0722
lilyshen0722 added this pull request to the merge queue Oct 30, 2026
Merged via the queue into main with commit 834fd28 Oct 30, 2026
31 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant